package com.zhengyisky.mapper;

import com.zhengyisky.pojo.TbParent;
import com.zhengyisky.pojo.TbParentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbParentMapper {
    int countByExample(TbParentExample example);

    int deleteByExample(TbParentExample example);

    int deleteByPrimaryKey(Integer parentId);

    int insert(TbParent record);

    int insertSelective(TbParent record);

    List<TbParent> selectByExample(TbParentExample example);

    TbParent selectByPrimaryKey(Integer parentId);

    int updateByExampleSelective(@Param("record") TbParent record, @Param("example") TbParentExample example);

    int updateByExample(@Param("record") TbParent record, @Param("example") TbParentExample example);

    int updateByPrimaryKeySelective(TbParent record);

    int updateByPrimaryKey(TbParent record);
}